<div id="angularId"  >
    <div class="row mt7">
        <div class="col-md-3 col-sm-4 col-xs-12" ng-controller="sceneTreeCtrl">
            <div class="x_panel wider">
                <div class="x_title" >
                    <a ng-click='expandAll(sceneTree)' role="button" class='btn-link' title="展开与收缩">
                        <i class="glyphicon"
                           ng-class="{'glyphicon-resize-small':sceneTree.expanded,'glyphicon-resize-full':!sceneTree.expanded}" ></i></a>
                     场景分类
                    <a  ng-click='addTopNode()' ng-if="$root.hasPower('编辑场景')" role="button" class='btn-link pull-right'><i class='fa fa-plus' ></i>终端</a>
                </div>
                <div class="x_content" style="z-index: 1">
                    <div class="alert" role="alert" ng-show="!sceneTree">无场景分类</div>
                    <tree-view node-list="sceneTree" config="{edit:$root.hasPower('编辑场景')}"></tree-view>
                </div>
            </div>
        </div>
    </div>
</div>

